import axios from './index'
export const totalSeason = async (year) => {
    let res = await axios({
        method:"get",
        url:'/api/totals/season',
        params:{
            year
        }
    });
    return res.data;
}